home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Program: PCMOUSE.MSC
- ; Source for PCMOUSE.COM
- ; - Mouse Systems PC Mouse Driver for DS Ver 4.00
- ; - 1 May 1990
- ;
- ; Author: Nat Martino
- ; 501 W. Vineyard Ave #514
- ; Oxnard, CA 93030
- ; (805) 485-6340
- ;
- ; Instructions:
- ; 1. Modify mouse menu driver as desired.
- ; 2. Compile program with "msc" (ie: msc pcmouse).
- ; The "msc.exe" compiler program is located on one of the disks
- ; that came with your Mouse Systems Mouse.
- ; 3. Step 2 creates the "pcmouse.com" file.
- ; 4. Prior to starting DS ensure the Mouse driver and Mouse Menu
- ; programs are executed.
- ; ie: MOUSESYS <ENTER> ... loads Mouse Driver
- ; PCMOUSE <ENTER> ... loads PopUp Mouse Menus for DS
- ; DS <ENTER> ... loads DS
- ;
- ; Mouse Operation Notes (as currently configured):
- ; 1. The Mouse can be configured to work on Directories or Files.
- ; To switch the mouse configuration from directories to files
- ; or visa versa, depress the rightmost button.
- ; 2. File-Mouse
- ; (see DEF #1 below)
- ; 3. Directory-Mouse - this is the default on startup
- ; (see DEF #2 below)
- ;
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Comment ("Configured for DS - Directory Scanner Ver 4.00")
-
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ; GLOBAL PARAMETERS
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ReverseVideo (Yes) ; Menu is displayed in reverse video
- FixedMenu (No) ; Menu is floating (centered on cursor)
- EnableBeep (No) ; Allows menu switching rather than beep
- ExpertMode (Yes)
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ; CURSOR DEFINITIONS
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- File_Cursor: Cursor
- (
- Left ([Left])
- Right ([Right])
- Up ([Up])
- Down ([Down])
- Sensitivity (30, 10)
- Hysteresis (2, 2)
- )
- ; DEF #1 Definitions When Working With FILES
- ; ┌────────┬──────────────┐ ┌───────────┬─────────────────────────────────────┐
- ; │ │ UP │ │ │ Left Middle Right │
- ; │ Mouse │ | │ │ Button │ │
- ; │Movement│LEFT--|--RIGHT│ │Definitions│ Tag Untag Switch │
- ; │ │ | │ │ │ File File to │
- ; │ │ DOWN │ │ │ DEF #2 │
- ; └────────┴──────────────┘ └───────────┴─────────────────────────────────────┘
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Dir_Cursor: Cursor
- (
- Left ([F1])
- Right ([F2])
- Up ([F1])
- Down ([F2])
- Sensitivity (10, 10)
- Hysteresis (2, 2)
- )
- ; DEF #2 Definitions When Working With DIRECTORIES
- ; ┌────────┬───────────┐ ┌───────────┬─────────────────────────────────────┐
- ; │ │ F1 │ │ │ Left Middle Right │
- ; │ Mouse │ | │ │ Button │ │
- ; │Movement│ F1--|--F2 │ │Definitions│ <CR> F5 Switch │
- ; │ │ | │ │ │ (Root Dir) to │
- ; │ │ F2 │ │ │ DEF #1 │
- ; └────────┴───────────┘ └───────────┴─────────────────────────────────────┘
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Macro_Cursor: Cursor
- (
- Left ([Left])
- Right ([Right])
- Up ([Up])
- Down ([Down])
- Sensitivity (10, 10)
- Hysteresis (10, 2)
- )
- ; DEF #3 Definitions When Working With MACROS
- ; ┌────────┬──────────────┐ ┌───────────┬─────────────────────────────────────┐
- ; │ │ UP │ │ │ Left Middle Right │
- ; │ Mouse │ | │ │ Button │ │
- ; │Movement│LEFT--|--RIGHT│ │Definitions│ <CR> <Esc> TAB │
- ; │ │ | │ │ │ │
- ; │ │ DOWN │ │ │ │
- ; └────────┴──────────────┘ └───────────┴─────────────────────────────────────┘
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Link1_Cursor: Cursor
- (
- Left ([Up])
- Right ([Down])
- Up ([Up])
- Down ([Down])
- Sensitivity (10, 10)
- Hysteresis (2, 2)
- )
- ; DEF #4 Definitions When Working With DIR LINKS (RIGHT DISPLAY)
- ; ┌────────┬──────────────┐ ┌───────────┬─────────────────────────────────────┐
- ; │ │ UP │ │ │ Left Middle Right │
- ; │ Mouse │ | │ │ Button │ │
- ; │Movement│ UP--|--DOWN │ │Definitions│ <CR> <Esc> Switch │
- ; │ │ | │ │ │ to │
- ; │ │ DOWN │ │ │ DEF #5 │
- ; └────────┴──────────────┘ └───────────┴─────────────────────────────────────┘
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Link2_Cursor: Cursor
- (
- Left ([F1])
- Right ([F2])
- Up ([F1])
- Down ([F2])
- Sensitivity (10, 10)
- Hysteresis (2, 2)
- )
- ; DEF #5 Definitions When Working With DIR LINKS (LEFT DISPLAY)
- ; ┌────────┬───────────┐ ┌───────────┬─────────────────────────────────────┐
- ; │ │ F1 │ │ │ Left Middle Right │
- ; │ Mouse │ | │ │ Button │ │
- ; │Movement│ F1--|--F2 │ │Definitions│ <CR> <Esc> Switch │
- ; │ │ | │ │ │ to │
- ; │ │ F2 │ │ │ DEF #4 │
- ; └────────┴───────────┘ └───────────┴─────────────────────────────────────┘
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ; BUTTON DEFINITIONS
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Tag_it: Button (Keys("t"))
- UnTag_it: Button (Keys("u"))
-
- Top_Dir: Button (Keys([F5]))
- CR: Button (Keys([Enter]))
- ESC_Key: Button (Keys([Esc]))
- TAB_Key: Button (Keys([Tab]))
- Page_Up: Button (Keys([PgUp]))
- Page_Dn: Button (Keys([PgDn]))
- Up_Key: Button (Keys([Up]))
- HOME_Key: Button (Keys([Home]))
- END_KEY: Button (Keys([End]))
-
- Dir_Buttons: Button (Cursor (Dir_Cursor)
- Button (Left=CR)
- Button (Middle=Top_Dir)
- Button (Right=File_Buttons))
-
- File_Buttons: Button (Cursor (File_Cursor)
- Button (Left=Tag_it)
- Button (Middle=UnTag_it)
- Button (Right=Dir_Buttons))
-
- Esc_File_Buttons:Button (Cursor (File_Cursor)
- Keys ([Esc])
- Button (Left=Tag_it)
- Button (Middle=UnTag_it)
- Button (Right=Dir_Buttons))
-
- Rtn_File_Buttons:Button (Cursor (File_Cursor)
- Keys ([Enter])
- Button (Left=Tag_it)
- Button (Middle=UnTag_it)
- Button (Right=Dir_Buttons))
-
- Link1_Buttons: Button (Cursor (Link1_Cursor)
- Button (Left=Rtn_File_Buttons)
- Button (Middle=Esc_File_Buttons)
- Button (Right=Link2_Buttons))
-
- Link2_Buttons: Button (Cursor (Link2_Cursor)
- Button (Left=Rtn_File_Buttons)
- Button (Middle=Esc_File_Buttons)
- Button (Right=Link1_Buttons))
-
- LM_CHORD: Button (Menu(LM_MENU))
-
- LR_CHORD: Button (Menu(LR_MENU))
-
- MR_CHORD: Button (Menu(MR_MENU))
-
- LMR_CHORD: Button (Menu(MISC_MENU))
-
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ; MENU DEFINITIONS
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- DRIVES: Menu(
- Title ("DRIVES")
- Position(UpperLeft(1,1))
- Item (" ", )
- Item ("A", Keys("da" [Enter]))
- Item ("B", Keys("db" [Enter]))
- Item ("C", Keys("dc" [Enter]))
- Item ("D", Keys("dd" [Enter]))
- Item ("E", Keys("de" [Enter]))
- Item ("F", Keys("df" [Enter]))
- Item ("G", Keys("dg" [Enter])))
-
- FREE_SPACE: Menu(
- Title ("DRIVES")
- Position(UpperLeft(1,1))
- Item (" ", )
- Item ("A", Keys([a-f] "a" ))
- Item ("B", Keys([a-f] "b" ))
- Item ("C", Keys([a-f] "c" ))
- Item ("D", Keys([a-f] "d" ))
- Item ("E", Keys([a-f] "e" )))
-
- MR_MENU: Menu(
- Title ("File Commands")
- Position(UpperLeft(0,1))
- Item (" List File ", Keys("l")
- Cursor(Link1_Cursor)
- Button (Left=Page_Up)
- Button (Middle=Esc_File_Buttons)
- Button (Right=Page_Dn))
- Item ("─────────────", Keys([Esc]))
- Item (" Edit File ", Keys("e"))
- Item ("─────────────", Keys([Esc]))
- Item (" Execute File", Keys("x" [Enter]))
- Item ("─────────────", Keys([Esc]))
- Item (" Copy Files ", Keys("k"))
- Item ("─────────────", Keys([Esc]))
- Item (" Delete Files", Keys([a-d]))
- Item ("─────────────", Keys([Esc]))
- Item (" Move Files ", Keys("m"))
- Item (" Rename File ", Keys("r"))
- Item ("─────────────", Keys([Esc]))
- Item (" PageUp Files", Keys([PgUp]))
- Item (" PageDn Files", Keys([PgDn]))
- Item ("─────────────", Keys([Esc]))
- Item (" Tag All ", Keys([a-t]))
- Item (" Untag All ", Keys([a-u])))
-
- LR_MENU: Menu(
- Title ("File Commands")
- Position(UpperLeft(0,1))
- Item (" ", Keys([Esc]))
- Item (" Split Screen", Keys("s"))
- Item ("─────────────", Keys([Esc]))
- Item (" Switch/Flip ", Keys("+"))
- Item ("─────────────", Keys([Esc]))
- Item ("25 43/50 Tog", Keys([a-m]))
- Item ("─────────────", Keys([Esc]))
- Item ("Select & Sort", Keys([a-s]))
- Item ("─────────────", Keys([Esc]))
- Item (" Control Tags", Keys([c-t]))
- Item ("─────────────", Keys([Esc]))
- Item (" Find File ", Keys("f"))
- Item ("─────────────", Keys([Esc]))
- Item ("Enter Command", Keys("c")
- Cursor(File_Cursor)
- Button (Left=Rtn_File_Buttons)
- Button (Middle=ESC_Key)
- Button (Right=Up_Key))
- Item ("─────────────", Keys([Esc]))
- Item (" Attrib Files", Keys("a"))
- Item ("─────────────", Keys([Esc]))
- Item (" Print Tagged", Keys("p")))
-
- LM_MENU: Menu(
- Title ("DIR COMMANDS")
- Position(UpperCenter(43,1))
- Item (" ", Keys([Esc]))
- Item (" ", Keys([Esc]))
- Item (" Drive Change", Menu(DRIVES))
- Item ("─────────────", Keys([Esc]))
- Item (" Dir Add/Del ", Keys([c-d])
- Cursor(Dir_Cursor)
- Button (Left=CR)
- Button (Middle=Top_Dir)
- Button (Right=File_Buttons))
- Item ("─────────────", Keys([Esc]))
- Item ("Directory Lks", Keys("0")
- Cursor(Link1_Cursor)
- Button (Left=Rtn_File_Buttons)
- Button (Middle=Esc_File_Buttons)
- Button (Right=Link2_Buttons))
- Item ("─────────────", Keys([Esc]))
- Item (" Attrib Dir ", Keys([c-a]))
- Item ("─────────────", Keys([Esc]))
- Item (" Rescan Tree ", Keys([a-r]))
- Item ("─────────────", Keys([Esc]))
- Item (" Free Space ", Menu(FREE_SPACE))
- Item ("─────────────", Keys([Esc]))
- Item (" Tree Dump ", Keys([c-u]))
- Item ("─────────────", Keys([Esc]))
- Item ("Volume ID Tog", Keys([c-v]))
- Item (" ", Keys([Esc])))
-
- MISC_MENU: Menu(
- Title ("MISC COMMANDS")
- Position(UpperRight(79,1))
- Item (" ", Keys([Esc]))
- Item (" Dir Mouse ", Cursor (Dir_Cursor)
- Button (Left=CR)
- Button (Middle=Top_Dir)
- Button (Right=File_Buttons))
- Item ("─────────────", Keys([Esc]))
- Item (" File Mouse ", Cursor (File_Cursor)
- Button (Left=Tag_it)
- Button (Middle=UnTag_it)
- Button (Right=Dir_Buttons))
- Item ("─────────────", Keys([Esc]))
- Item (" 1 Page Help ", Keys("?"))
- Item ("─────────────", Keys([Esc]))
- Item ("Help Expanded", Keys([F10])
- Cursor(File_Cursor)
- Button (Left=HOME_Key)
- Button (Middle=Esc_File_Buttons)
- Button (Right=END_Key))
- Item ("─────────────", Keys([Esc]))
- Item ("Refresh Scrn ", Keys([c-r]))
- Item ("─────────────", Keys([Esc]))
- Item ("Color Changes", Keys([a-k]))
- Item ("─────────────", Keys([Esc]))
- Item ("Define Macros", Keys([s-F10])
- Cursor(Macro_Cursor)
- Button (Left=Rtn_File_Buttons)
- Button (Middle=Esc_File_Buttons)
- Button (Right=TAB_Key))
- Item ("─────────────", Keys([Esc]))
- Item ("Edit Defaults", Keys([c-e])
- Cursor(Macro_Cursor)
- Button (Left=HOME_Key)
- Button (Middle=Esc_File_Buttons)
- Button (Right=Rtn_File_Buttons))
- Item ("─────────────", Keys([Esc]))
- Item (" Prog Limits ", Keys([c-l])))
-
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ; MOUSE DEFINITION
- ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Mouse(
- Cursor (Dir_Cursor)
-
- Left (File_Buttons)
-
- Middle (Top_Dir)
-
- Right (CR)
-
- LeftMiddle (LM_CHORD)
-
- LeftRight (LR_CHORD)
-
- MiddleRight (MR_CHORD)
-
- LeftMiddleRight (LMR_CHORD))
-
-